package cn.school.prevention.dao;

import cn.school.prevention.entity.Scope;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScopeDao extends BaseMapper<Scope> {

    List<Scope> list(@Param("scope") Scope scope);

    int count(@Param("scope") Scope scope);
}
